<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">

    <body>

        <ui:composition template="./TemplateBar.xhtml">

            <ui:define name="top">
                Bienvenido <h:outputText value="#{accessBean.name}"/>
            </ui:define>

            <ui:define name="left">
                left
            </ui:define>

            <ui:define name="right">
                <h:form>
                    <h:commandButton action="PaginaLogin" value="Salir"/>
                </h:form>
            </ui:define>

            <ui:define name="content">
                <h:form>
                    <table>
                        <tr>
                            <td> <h:commandLink action="BebidaVista" value="Bebida"/></td>
                            <td> <h:commandLink action="DetalleVentaVista" value="DetalleVenta"/></td>
                            <td><h:commandLink action="InventarioVista" value="Inventario"/></td>
                            <td><h:commandLink action="VentaVista" value="Venta"/></td>
                            <td><h:commandLink action="UsuarioVista" value="Usuario"/></td>
                        </tr>
                    </table>
                </h:form>
            </ui:define>

            <ui:define name="bottom">
                JAVA Bar
            </ui:define>

        </ui:composition>

    </body>
</html>
